package com.mini.common.annotation;

import java.lang.annotation.*;

/**
 * log 注解
 *
 * @author gaoyanfeng
 * @create 2018-03-21 15:06
 **/
@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface AutoLog {
    enum Level {
        INFO, DEBUG
    }

    /**
     * 日志级别
     * @return
     */
    Level logLevel() default Level.INFO;

}
